<div class="animes view">
<h2><?php echo __('Anime'); ?></h2>
	<dl>
		<dt><?php echo __('Id'); ?></dt>
		<dd>
			<?php echo h($anime['Anime']['id']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('User Token'); ?></dt>
		<dd>
			<?php echo h($anime['Anime']['user_token']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Type'); ?></dt>
		<dd>
			<?php echo $this->Html->link($anime['Type']['name'], array('controller' => 'types', 'action' => 'view', $anime['Type']['id'])); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Name'); ?></dt>
		<dd>
			<?php echo h($anime['Anime']['name']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Title'); ?></dt>
		<dd>
			<?php echo h($anime['Anime']['title']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Photo'); ?></dt>
		<dd>
			<?php echo h($anime['Anime']['photo']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Photo Dir'); ?></dt>
		<dd>
			<?php echo h($anime['Anime']['photo_dir']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Summary'); ?></dt>
		<dd>
			<?php echo h($anime['Anime']['summary']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Observation'); ?></dt>
		<dd>
			<?php echo h($anime['Anime']['observation']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Created'); ?></dt>
		<dd>
			<?php echo h($anime['Anime']['created']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Modified'); ?></dt>
		<dd>
			<?php echo h($anime['Anime']['modified']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Status'); ?></dt>
		<dd>
			<?php echo h($anime['Anime']['status']); ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php echo __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Anime'), array('action' => 'edit', $anime['Anime']['id'])); ?> </li>
		<li><?php echo $this->Form->postLink(__('Delete Anime'), array('action' => 'delete', $anime['Anime']['id']), null, __('Are you sure you want to delete # %s?', $anime['Anime']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Animes'), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Anime'), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Types'), array('controller' => 'types', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Type'), array('controller' => 'types', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Seasons'), array('controller' => 'seasons', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Season'), array('controller' => 'seasons', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Genres'), array('controller' => 'genres', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Genre'), array('controller' => 'genres', 'action' => 'add')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php echo __('Related Seasons'); ?></h3>
	<?php if (!empty($anime['Season'])): ?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php echo __('Id'); ?></th>
		<th><?php echo __('User Token'); ?></th>
		<th><?php echo __('Anime Id'); ?></th>
		<th><?php echo __('Situation Id'); ?></th>
		<th><?php echo __('Rating Id'); ?></th>
		<th><?php echo __('Type Id'); ?></th>
		<th><?php echo __('Name'); ?></th>
		<th><?php echo __('Photo'); ?></th>
		<th><?php echo __('Photo Dir'); ?></th>
		<th><?php echo __('Release Year'); ?></th>
		<th><?php echo __('View Episode'); ?></th>
		<th><?php echo __('Release Date'); ?></th>
		<th><?php echo __('Dow Episodes'); ?></th>
		<th><?php echo __('Full Episodes'); ?></th>
		<th><?php echo __('Start Season'); ?></th>
		<th><?php echo __('End Season'); ?></th>
		<th><?php echo __('Url'); ?></th>
		<th><?php echo __('Summary'); ?></th>
		<th><?php echo __('Created'); ?></th>
		<th><?php echo __('Modified'); ?></th>
		<th><?php echo __('Status'); ?></th>
		<th class="actions"><?php echo __('Actions'); ?></th>
	</tr>
	<?php foreach ($anime['Season'] as $season): ?>
		<tr>
			<td><?php echo $season['id']; ?></td>
			<td><?php echo $season['user_token']; ?></td>
			<td><?php echo $season['anime_id']; ?></td>
			<td><?php echo $season['situation_id']; ?></td>
			<td><?php echo $season['rating_id']; ?></td>
			<td><?php echo $season['type_id']; ?></td>
			<td><?php echo $season['name']; ?></td>
			<td><?php echo $season['photo']; ?></td>
			<td><?php echo $season['photo_dir']; ?></td>
			<td><?php echo $season['release_year']; ?></td>
			<td><?php echo $season['view_episode']; ?></td>
			<td><?php echo $season['release_date']; ?></td>
			<td><?php echo $season['dow_episodes']; ?></td>
			<td><?php echo $season['full_episodes']; ?></td>
			<td><?php echo $season['start_season']; ?></td>
			<td><?php echo $season['end_season']; ?></td>
			<td><?php echo $season['url']; ?></td>
			<td><?php echo $season['summary']; ?></td>
			<td><?php echo $season['created']; ?></td>
			<td><?php echo $season['modified']; ?></td>
			<td><?php echo $season['status']; ?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View'), array('controller' => 'seasons', 'action' => 'view', $season['id'])); ?>
				<?php echo $this->Html->link(__('Edit'), array('controller' => 'seasons', 'action' => 'edit', $season['id'])); ?>
				<?php echo $this->Form->postLink(__('Delete'), array('controller' => 'seasons', 'action' => 'delete', $season['id']), null, __('Are you sure you want to delete # %s?', $season['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Season'), array('controller' => 'seasons', 'action' => 'add')); ?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php echo __('Related Genres'); ?></h3>
	<?php if (!empty($anime['Genre'])): ?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php echo __('Id'); ?></th>
		<th><?php echo __('User Token'); ?></th>
		<th><?php echo __('Name'); ?></th>
		<th><?php echo __('Created'); ?></th>
		<th><?php echo __('Modified'); ?></th>
		<th><?php echo __('Status'); ?></th>
		<th class="actions"><?php echo __('Actions'); ?></th>
	</tr>
	<?php foreach ($anime['Genre'] as $genre): ?>
		<tr>
			<td><?php echo $genre['id']; ?></td>
			<td><?php echo $genre['user_token']; ?></td>
			<td><?php echo $genre['name']; ?></td>
			<td><?php echo $genre['created']; ?></td>
			<td><?php echo $genre['modified']; ?></td>
			<td><?php echo $genre['status']; ?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View'), array('controller' => 'genres', 'action' => 'view', $genre['id'])); ?>
				<?php echo $this->Html->link(__('Edit'), array('controller' => 'genres', 'action' => 'edit', $genre['id'])); ?>
				<?php echo $this->Form->postLink(__('Delete'), array('controller' => 'genres', 'action' => 'delete', $genre['id']), null, __('Are you sure you want to delete # %s?', $genre['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Genre'), array('controller' => 'genres', 'action' => 'add')); ?> </li>
		</ul>
	</div>
</div>
